﻿using Newtonsoft.Json;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models.Result.Data
{
    public class VRecordData
    {
        /// <summary>
        /// 分组Id
        /// </summary>
        [JsonProperty("group_id"), JsonPropertyName("group_id")]
        public long GroupId { get; set; }

        /// <summary>
        /// 数据组Id
        /// </summary>
        [JsonProperty("site_id"), JsonPropertyName("site_id")]
        public long SiteId { get; set; }

        /// <summary>
        /// 数据组名称
        /// </summary>
        [JsonProperty("site_name"), JsonPropertyName("site_name")]
        public long SiteName { get; set; }

        /// <summary>
        /// 标签Id
        /// </summary>
        [JsonProperty("tag_id"), JsonPropertyName("tag_id")]
        public long TagId { get; set; }

        /// <summary>
        /// 标签名称
        /// </summary>
        [JsonProperty("tag_name"), JsonPropertyName("tag_name")]
        public long TagName { get; set; }

        /// <summary>
        /// 标签类型名称
        /// </summary>
        [JsonProperty("tagtype_name"), JsonPropertyName("tagtype_name")]
        public long TagTypeName { get; set; }

        /// <summary>
        /// 数据值
        /// </summary>
        [JsonProperty("data_value"), JsonPropertyName("data_value")]
        public double DataValue { get; set; }

    }
}
